package com.nwpu.bigdata.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.nwpu.bigdata.dao.mapper.MetricMapper;
import com.nwpu.bigdata.model.Metric;
import com.nwpu.bigdata.model.MetricExample;
import com.nwpu.bigdata.service.MetricService;

/**
 * @author Administrator
 *
 */
@Service
public class MetricServiceImpl implements MetricService {
	@Autowired
	MetricMapper metricMapper;

	@Override
	public List<Metric> getAllMetricName() {
		MetricExample metricExample = new MetricExample();

		return metricMapper.selectByExample(metricExample);

	}

}
